package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.bean.StudentBean;
import com.example.demo.entity.Student;
import org.apache.ibatis.annotations.Select;


import java.util.List;

public interface StudentDao extends BaseMapper<StudentBean> {

    List<StudentBean> getStudentList();
    @Select("select * from student")
    List<StudentBean> getAll();
}
